﻿<%@ Application Language="C#" %>
<script runat="server">
    //protected void Application_BeginRequest(object sender, EventArgs e)
    //{
    //    if (Context.Request.FilePath == "/" && System.IO.File.Exists(HttpRuntime.AppDomainAppPath.ToString() + "WebForm2.aspx"))
    //    {
    //        Random rd = new Random();
    //        Context.RewritePath("WebForm2.aspx?rd=" + rd.Next());
    //    }
    //}
    protected void Application_Error(object sender, EventArgs e)
    {
        Aspfm.Factory.Main.AspfmGlobal.Application_Error(sender, e);
    }
    void Application_BeginRequest(object sender, EventArgs e)
    {
        Aspfm.Factory.Main.AspfmGlobal.Application_BeginRequest(sender, e);
    }
    protected void Application_Start()
    {
        Aspfm.Factory.Main.AspfmGlobal.Application_Start(null,null);
    }
    protected void Application_End(object sender, EventArgs e)
    {
        Aspfm.Factory.Main.AspfmGlobal.Application_End(sender, e);
    }
</script>
